import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 加载全局的样式
import './styles/index.less'
import http from './utils/request.js'

// 一般基于vue的插件, 都要Vue.use一下, 会进行插件的初始化, 会注册组件
Vue.use(ElementUI)
Vue.config.productionTip = false
Vue.prototype.$http = http

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
